﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Add.aspx.cs" Inherits="AnYeCun.Web.Admin.ShareCodeClass.Add" %>

<%@ Register TagName="Style" TagPrefix="Menu" Src="~/Modules/Menu/StyleMenu.ascx" %>
<%@ Register TagName="Header" TagPrefix="Menu" Src="~/Modules/Menu/HeaderMenu.ascx" %>
<%@ Register TagName="Footer" TagPrefix="Menu" Src="~/Modules/Menu/FooterMenu.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <Menu:Style runat="server" ID="menuStyle" Title="类别管理"></Menu:Style>
</head>
<body>
    <div class="wrapper">
        <div>
            <a href="/ShareCodeClass/Index.aspx">返回列表</a></div>
        <form id="form1" runat="server">
        <div class="content">
            <table>
                <tr>
                    <td>
                        类别名称（中文）
                    </td>
                    <td>
                        <input type="text" runat="server" id="txt_Name" />
                    </td>
                </tr>
                <tr>
                    <td>
                        类别名称（英文）
                    </td>
                    <td>
                        <input type="text" runat="server" id="txt_NameEN" />
                    </td>
                </tr>
                <tr>
                    <td>
                        编码
                    </td>
                    <td>
                        <input type="text" runat="server" id="txt_Code" />
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        <input type="button" id="btnSubmit" value="  保  存  " />
                    </td>
                </tr>
            </table>
        </div>
        </form>
    </div>
</body>
</html>
<script type="text/javascript">
    ElementValidator.className = { error: "error1", def: "tips", focus: "tips", correct: "correct" };
    var formValidator = new ElementValidator();
    formValidator.addText({ id: "txt_Name", focus: "请输入类别名称（中文）", defTips: "类别名称（中文）必填", len: { text: /^.{2,80}$/, errorMsg: "类别名称（中文）由2-80个字符组成" }, tips: { correctMsg: "OK"} });
    
</script>
